//
//  DCAVChatUrlManager.h
//  DCAvchatSDK
//
//  Created by wangyp on 2021/4/23.
//  Copyright © 2021 zhangtao. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DCAVChatUrlManager : NSObject

+ (instancetype)shareManager;

//获取baseUrl
- (NSString *) getBaseUrlByAddress:(NSString *)url;

//获取baseApiUrl
- (NSString *) getBaseApiUrlByAddress:(NSString *)url;
 
//获取不同工程下的api的全路径
- (NSString *) getProjectApi:(NSString *)api projectUrl:(NSString *)projectUrl server:(NSString *)serverUrl;

//通过apiURL和服务地址返回api全路径
- (NSString *) getApi:(NSString *)api server:(NSString *)serverUrl;

@end

NS_ASSUME_NONNULL_END
